package org.koyad.portal.portalPage.actions;

import org.koyad.portal.annotations.Action;
import org.koyad.portal.annotations.Action.Forward;
import org.koyad.portal.api.BaseAction;
import org.koyad.portal.utils.LogUtils;

@Action(
	name = "createPage",
	forwards = { 
					@Forward(name = "success", path = "/jsp/success.jsp"),
					@Forward(name = "failure", path = "/jsp/failure.jsp")
			   }
)
public class CreatePageAction extends BaseAction {

	private static final LogUtils LOGGER = LogUtils.getLogger(CreatePageAction.class);
	
	@Override
	public void execute() {
		createView("/_page/xml/createPage.xml");
	}

}
